package com.stanford.ml.svm;

/**
 * Contains linear kernel information including the tree
 * parameters referred commonly
 * @author Fatih Sunor
 *
 */
public class Kernel {
		
	private double _a;
	private double _b;
	private double _c;
	
	/**
	 * @return the a
	 */
	public double getA() {
		return _a;
	}

	/**
	 * @param a the a to set
	 */
	public void setA(double a) {
		_a = a;
	}

	/**
	 * @return the b
	 */
	public double getB() {
		return _b;
	}

	/**
	 * @param b the b to set
	 */
	public void setB(double b) {
		_b = b;
	}

	/**
	 * @return the c
	 */
	public double getC() {
		return _c;
	}

	/**
	 * @param c the c to set
	 */
	public void setC(double c) {
		_c = c;
	}

	/**
	 * Constructor with parameters
	 * @param a
	 * @param b
	 * @param c
	 */
	public Kernel(double a, double b, double c) {
		_a = a;
		_b = b;
		_c = c;
	}
	
	/**
	 * Default constructor
	 */
	public Kernel() {
		this(1,1,1);
	}
}
